lst = [1,4,9,16,2,5,10,15]
#x=[]
#for i in range(len(lst)-1):
#    x.append(lst[i]+lst[i+1])
#print(x)
print([lst[i]+lst[i+1]  for i in range(len(lst)-1)])


# 完成的不错
